package com.lang.exception;

import lombok.Data;

/**
 * creat by SimonLang
 * 2022/12/29 12:09
 */

@Data
public class BaseException extends RuntimeException{

    private Integer code;

    private String message;

    public BaseException(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}

